GNOME Shell will need to be rebuilt after GLib 2.86 is uploaded to
unstable, so that its typelibs declare a dependency on GioUnix, which
they do not when built against older GLib. Generate a versioned
dependency so that this can be done via either a binNMU or a sourceful
upload.
+debian/local.substvars
debian/home/
python3,
tecla,
${gir:Depends},
+ ${local:Depends},
${misc:Depends},
${shlibs:Depends}
Recommends: bolt,
--- /dev/null
+#!/bin/sh
+# Copyright 2025 Simon McVittie
+# SPDX-License-Identifier: MIT
+
+glib_version=$(dpkg-query -W -f '${Version}' "libglib2.0-dev:$DEB_HOST_ARCH")
+
+if dpkg --compare-versions "$glib_version" ge 2.86; then
+ echo "local:Depends=gir1.2-glib-2.0 (>= 2.86.0)"
+else
+ echo "local:Depends=gir1.2-glib-2.0 (<< 2.86.0)"
+fi
endif
override_dh_gnome_clean:
+
+debian/local.substvars:
+ dpkg-architecture -c debian/extra-substvars.sh > $@
+
+override_dh_gencontrol: debian/local.substvars
+ dh_gencontrol -- -Tdebian/local.substvars